package com.TTBook.module.common;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;
import org.apache.struts2.interceptor.SessionAware;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.TTBook.common.config.ApplicationConfigUtils;
import com.opensymphony.xwork2.ActionSupport;

public abstract class MallBaseAction extends BaseAction{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3478412112633848103L;
	private static final Logger log = LoggerFactory.getLogger(MallBaseAction.class);
	//项目的Title
	private String webTitle;
	//系统访问根路径
	private String contextPath;
	
	public MallBaseAction(){};

	public String getWebTitle() {
		return webTitle = ApplicationConfigUtils.getInstance().getMallTitle();
	}

	public String getContextPath() {
		return contextPath;
	}

	public void setContextPath(String contextPath) {
		this.contextPath = contextPath;
	}
	
	

}
